import request from '@/utils/request'

export function listCacheName(data) {
  return request({
    url: '/system/cache/getNames',
    method: 'get',
    data: data
  })
}

export function listCacheKey(data) {
  return request({
    url: '/system/cache/getKeys/' + data,
    method: 'get',
    data: data
  })
}

export function getCacheValue(data) {
  return request({
    url: '/system/cache/getValue/' + data,
    method: 'get'
  })
}

export function clearCacheName(data) {
  return request({
    url: '/system/cache/clearCacheName/' + data,
    method: 'get',
    data: data
  })
}
